package com.fjh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fjh.domain.SysMenu;

import java.util.List;

public interface SysMenuService extends IService<SysMenu>{

    /**
     * 查询当前用户的树菜单
     * @param userId
     * @return
     */
    List<SysMenu> loadTreeByUserId(String userId);
}
